package com.example.demo.metro.entity;

import lombok.Data;

import javax.persistence.*;
import java.util.Date;

/**
 * @author : yuanchuan
 * @date : 2023-11-22 20:43
 * @team : 西南综合开发支持部
 * @copyright :
 **/
@Data
@Entity
@Table(name = FeedBack.TABLE_NAME)
public class FeedBack {
    public static final String TABLE_NAME = "sys_feed_back";

    /**
     * 主键
     */
    @Id
    @Column(name = "id")
    private Long id;

    /**
     *反馈内容
     */
    @Column(name = "content")
    private String content;

    /**
     *反馈标题
     */
    @Column(name = "title")
    private String title;

    /**
     *用户ID
     */
    @Column(name = "user_id")
    private Long userId;

    @Column(name = "app_type")
    private String appType;

    /**
     * 创建时间
     */
    @Column(name = "create_time")
    private Date createTime;
}
